Compress _s_i_z_e bytes of raw data from _b_u_f and write the result to the
specified strip; replacing any previously written data. Note that the
value of _s_t_r_i_p is a ``raw strip number.'' That is, the caller must take
into account whether or not the data are organized in separate places
(_P_l_a_n_a_r_C_o_n_f_i_g_u_r_a_t_i_o_n=2).
NNNNOOOOTTTTEEEESSSS
The library writes encoded data using the native machine byte order.
Correctly implemented TIFF readers are expected to do any necessary
byte-swapping to correctly process image data with BitsPerSample greater
than 8.
The strip number must be valid according to the current settings of the
_I_m_a_g_e_L_e_n_g_t_h and _R_o_w_s_P_e_r_S_t_r_i_p tags. An image may be dynamically grown by
increasing the value of _I_m_a_g_e_L_e_n_g_t_h prior to each call to
_T_I_F_F_W_r_i_t_e_E_n_c_o_d_e_d_S_t_r_i_p.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS
-1 is returned if an error was encountered. Otherwise, the value of _s_i_z_e
is returned.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
All error messages are directed to the _T_I_F_F_E_r_r_o_r(3T) routine.
%%%%ssss:::: FFFFiiiilllleeee nnnnooootttt ooooppppeeeennnn ffffoooorrrr wwwwrrrriiiittttiiiinnnngggg. The file was opened for reading, not
writing.
CCCCaaaannnn nnnnooootttt wwwwrrrriiiitttteeee ssssccccaaaannnnlllliiiinnnneeeessss ttttoooo aaaa ttttiiiilllleeeedddd iiiimmmmaaaaggggeeee. The image is assumed to be
organized in tiles because the _T_i_l_e_W_i_d_t_h and _T_i_l_e_L_e_n_g_t_h tags have been
set with _T_I_F_F_S_e_t_F_i_e_l_d(3T).
%%%%ssss:::: MMMMuuuusssstttt sssseeeetttt """"IIIImmmmaaaaggggeeeeWWWWiiiiddddtttthhhh"""" bbbbeeeeffffoooorrrreeee wwwwrrrriiiittttiiiinnnngggg ddddaaaattttaaaa. The image's width has not
be set before the first write. See _T_I_F_F_S_e_t_F_i_e_l_d(3T) for information on
how to do this.
%%%%ssss:::: MMMMuuuusssstttt sssseeeetttt """"PPPPllllaaaannnnaaaarrrrCCCCoooonnnnffffiiiigggguuuurrrraaaattttiiiioooonnnn"""" bbbbeeeeffffoooorrrreeee wwwwrrrriiiittttiiiinnnngggg ddddaaaattttaaaa. The organization
of data has not be defined before the first write. See _T_I_F_F_S_e_t_F_i_e_l_d(3T)
for information on how to do this.
%%%%ssss:::: NNNNoooo ssssppppaaaacccceeee ffffoooorrrr ssssttttrrrriiiipppp aaaarrrrrrrraaaayyyyssss"""". There was not enough space for the